<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>n-puzzle-core - FindBugs Bug Detector Report</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            n-puzzle-core
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2010-06-07
                      </div>
            <div class="xright">            <a href="">n-puzzle-core</a>
            
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                             <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
            
            
            
      
            
      
            
      
            
      
            
      
            
      
              
            <li class="expanded">
                    <a href="project-reports.html">Project Reports</a>
                  <ul>
                  
    <li class="none">
                    <a href="checkstyle.html">Checkstyle</a>
          </li>
                  
    <li class="none">
                    <a href="cobertura/index.html">Cobertura Test Coverage</a>
          </li>
                  
    <li class="none">
                    <a href="cpd.html">CPD Report</a>
          </li>
                  
    <li class="none">
              <strong>FindBugs Report</strong>
        </li>
                  
    <li class="none">
                    <a href="apidocs/index.html">JavaDocs UML</a>
          </li>
                  
    <li class="none">
                    <a href="javancss.html">JavaNCSS Report</a>
          </li>
                  
    <li class="none">
                    <a href="jdepend-report.html">JDepend</a>
          </li>
                  
    <li class="none">
                    <a href="pmd.html">PMD Report</a>
          </li>
                  
    <li class="none">
                    <a href="xref/index.html">Source Xref</a>
          </li>
                  
    <li class="none">
                    <a href="surefire-report.html">Surefire Report</a>
          </li>
              </ul>
        </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>FindBugs Bug Detector Report</h2>
<p>The following document contains the results of <a class="externalLink" href="http://findbugs.sourceforge.net">FindBugs Report</a></p>
<p>FindBugs Version is <i>1.3.9</i></p>
<p>Threshold is <i>medium</i></p>
<p>Effort is <i>min</i></p>
</div>
<div class="section"><h2>Summary</h2>
<table class="bodyTable"><tr class="a"><th>Classes</th>
<th>Bugs</th>
<th>Errors</th>
<th>Missing Classes</th>
</tr>
<tr class="b"><td>23</td>
<td>8</td>
<td>0</td>
<td>0</td>
</tr>
</table>
</div>
<div class="section"><h2>Files</h2>
<table class="bodyTable"><tr class="a"><th>Class</th>
<th>Bugs</th>
</tr>
<tr class="b"><td><a href="#com.googlecode.npuzzle.controller.BaseController">com.googlecode.npuzzle.controller.BaseController</a></td>
<td>3</td>
</tr>
<tr class="a"><td><a href="#com.googlecode.npuzzle.logic.BasePuzzleState">com.googlecode.npuzzle.logic.BasePuzzleState</a></td>
<td>3</td>
</tr>
<tr class="b"><td><a href="#com.googlecode.npuzzle.logic.EigthPuzzleState">com.googlecode.npuzzle.logic.EigthPuzzleState</a></td>
<td>1</td>
</tr>
<tr class="a"><td><a href="#com.googlecode.npuzzle.logic.astar.NodeImpl">com.googlecode.npuzzle.logic.astar.NodeImpl</a></td>
<td>1</td>
</tr>
</table>
</div>
<a name="com.googlecode.npuzzle.controller.BaseController"></a><div class="section"><h3>com.googlecode.npuzzle.controller.BaseController</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Synchronization performed on java.util.concurrent.LinkedBlockingQueue in com.googlecode.npuzzle.controller.BaseController.commandBufferSize()</td>
<td>MT_CORRECTNESS</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#JLM_JSR166_UTILCONCURRENT_MONITORENTER">JLM_JSR166_UTILCONCURRENT_MONITORENTER</a></td>
<td><a href="./xref/com/googlecode/npuzzle/controller/BaseController.html#66">66</a></td>
<td>Medium</td>
</tr>
<tr class="b"><td>Synchronization performed on java.util.concurrent.LinkedBlockingQueue in com.googlecode.npuzzle.controller.BaseController.execCommandsBuffer()</td>
<td>MT_CORRECTNESS</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#JLM_JSR166_UTILCONCURRENT_MONITORENTER">JLM_JSR166_UTILCONCURRENT_MONITORENTER</a></td>
<td><a href="./xref/com/googlecode/npuzzle/controller/BaseController.html#57">57</a></td>
<td>Medium</td>
</tr>
<tr class="a"><td>Synchronization performed on java.util.concurrent.LinkedBlockingQueue in com.googlecode.npuzzle.controller.BaseController.randomize()</td>
<td>MT_CORRECTNESS</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#JLM_JSR166_UTILCONCURRENT_MONITORENTER">JLM_JSR166_UTILCONCURRENT_MONITORENTER</a></td>
<td><a href="./xref/com/googlecode/npuzzle/controller/BaseController.html#30">30</a></td>
<td>Medium</td>
</tr>
</table>
</div>
<a name="com.googlecode.npuzzle.logic.BasePuzzleState"></a><div class="section"><h3>com.googlecode.npuzzle.logic.BasePuzzleState</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Equals method for com.googlecode.npuzzle.logic.BasePuzzleState assumes the argument is of type BasePuzzleState</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS">BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS</a></td>
<td><a href="./xref/com/googlecode/npuzzle/logic/BasePuzzleState.html#80">80</a></td>
<td>Medium</td>
</tr>
<tr class="b"><td>com.googlecode.npuzzle.logic.BasePuzzleState defines equals and uses Object.hashCode()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#HE_EQUALS_USE_HASHCODE">HE_EQUALS_USE_HASHCODE</a></td>
<td><a href="./xref/com/googlecode/npuzzle/logic/BasePuzzleState.html#80">80-83</a></td>
<td>Medium</td>
</tr>
<tr class="a"><td>com.googlecode.npuzzle.logic.BasePuzzleState.equals(Object) does not check for null argument</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT">NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT</a></td>
<td><a href="./xref/com/googlecode/npuzzle/logic/BasePuzzleState.html#80">80-83</a></td>
<td>High</td>
</tr>
</table>
</div>
<a name="com.googlecode.npuzzle.logic.EigthPuzzleState"></a><div class="section"><h3>com.googlecode.npuzzle.logic.EigthPuzzleState</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>com.googlecode.npuzzle.logic.EigthPuzzleState inherits equals and uses Object.hashCode()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#HE_INHERITS_EQUALS_USE_HASHCODE">HE_INHERITS_EQUALS_USE_HASHCODE</a></td>
<td><a href="./xref/com/googlecode/npuzzle/logic/EigthPuzzleState.html#16">16-82</a></td>
<td>Medium</td>
</tr>
</table>
</div>
<a name="com.googlecode.npuzzle.logic.astar.NodeImpl"></a><div class="section"><h3>com.googlecode.npuzzle.logic.astar.NodeImpl</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Equals method for com.googlecode.npuzzle.logic.astar.NodeImpl assumes the argument is of type NodeImpl</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS">BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS</a></td>
<td><a href="./xref/com/googlecode/npuzzle/logic/astar/NodeImpl.html#85">85</a></td>
<td>Medium</td>
</tr>
</table>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2010
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
